﻿using BussinessObject.ObjectTwo;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ProjectHK3.Object_One
{
    public partial class Branch : System.Web.UI.Page
    {
        B_LoadGidAD ex = new B_LoadGidAD();
        B_AdminDetail fx = new B_AdminDetail();
        B_LoadDrop ef = new B_LoadDrop();
        DataTable tb = new DataTable();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Label7.Text = fx.getBRANCHES().ToString();
                GridView1.DataSource = ex.loadBranch();
                GridView1.DataBind();

            }
        }
        public void loadData()
        {
            DropDownList1.DataSource = ef.city();
            DropDownList1.DataTextField = "CITY_NAME";
            DropDownList1.DataValueField = "CITY_ID";
            DropDownList1.DataBind();
        }
        protected void _lbtDelete_Click(object sender, EventArgs e)
        {

        }

        protected void _lbtViewDetails_Click(object sender, EventArgs e)
        {

        }

        protected void _lbtViewEmployees_Click(object sender, EventArgs e)
        {

        }

        protected void _lbtDelete_Command(object sender, CommandEventArgs e)
        {

        }

        protected void _lbtViewDetails_Command(object sender, CommandEventArgs e)
        {

        }

        protected void _lbtViewEmployees_Command(object sender, CommandEventArgs e)
        {

        }
    }
}